package com.daedalus.Gui.other.SimpleGame;

import javax.swing.*;


public class GamePanel extends JPanel {

	public Player player;
	public GamePanel(){
		setLayout(null);
		setSize(400,400);
		
		player = new Player();
		player.setLocation(0	, 0);
		setComponentZOrder(player, 0);
		add(player);
	}
	public void update(int x, int y){
		player.setLocation(x,y);
		setComponentZOrder(player,0);
		
		repaint();
	}
}
